package org.kzwl.service.web;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.kzwl.comm.pojo.ResponseData;
import org.kzwl.comm.pojo.bo.QueryAdminWebCommentsBO;
import org.kzwl.comm.pojo.bo.QueryWebCommentsBO;
import org.kzwl.comm.pojo.bo.SaveCuWebCommentsBO;
import org.kzwl.comm.pojo.bo.UpdateWebCommentsBO;
import org.kzwl.entity.web.CuWebComments;

public interface CuWebCommentsService extends IService<CuWebComments> {

    /**
    * @Author:maomao
    * @Description: 添加评论
    * @Date: 2021/3/6 5:57 下午
    */
    ResponseData<Void> saveComments(SaveCuWebCommentsBO saveCuWebCommentsBO);

    /**
    * @Author:maomao
    * @Description: 前端查询评论
    * @Date: 2021/3/6 5:57 下午
    */
    ResponseData<IPage<CuWebComments>> queryComments(QueryWebCommentsBO queryWebCommentsBO);


    /**
    * @Author:maomao
    * @Description: 后台查询审核
    * @Date: 2021/3/6 6:28 下午
    */
    ResponseData<IPage<CuWebComments>> queryAdminComments(QueryAdminWebCommentsBO queryAdminWebCommentsBO);

    /**
    * @Author:maomao
    * @Description: 审核评论
    * @Date: 2021/3/6 6:30 下午
    */
    ResponseData<Void> updateAdminComments(UpdateWebCommentsBO updateWebCommentsBO);
}
